<%-------------------------------------------------------------------
 * 页面名称：resetPayPassByMobile.jsp
 * 功能描述：使用手机申请重置支付密码页面
 * Action:
 *
 *-------------------------------------------------------------------
--%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="cn.agiledata.bank.common.util.WeatherUtil"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-html.tld" prefix="html"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%
	String path = request.getContextPath();
	String mobile = WeatherUtil.getLoingInfoFromSession(request)
			.getAccount().getMobile();
	if (mobile == null) {
		mobile = "";
	}
%>
<script language="javascript" src="<%=path%>/js/jquery-1.4.3.min.js"></script>
<script type='text/javascript' src='<%=path%>/js/vnv/passwordStrength.js'></script>
<script type="text/javascript" src="<%=path%>/js/PassGuardCtrl.js"></script>
<script type='text/javascript' src='<%=path%>/js/demo.js'></script>
<script type='text/javascript'
	src='<%=path%>/js/vnv/passwordStrength.js'></script>
<SCRIPT LANGUAGE="JavaScript">
function submitProcess() {
	var formObj = document.forms["0"];
	if (checkNecessaryInput(formObj)) {
	
	if(FormSubmit6()){
			var PwdResult=pgeditor.pwdResult();
			getObj('newPass').value=PwdResult;
			var PwdResult1=pgeditor1.pwdResult();
			getObj('reNewPass').value=PwdResult1;
			
			formObj.submit();
		}
		
	}
}

 window.onload = function(){	 
	    pgeditor.pgInitialize();//初始化控件
	   pgeditor1.pgInitialize();//初始化控件
	   }
</SCRIPT>
<div id="main">
	<div class="content_right">
		<div style="width:745px;margin-left:10px;">
			<div class="titleinfo">
				账户信息
			</div>
			<div class="edit_pass">
				<table width="100%" border="0" align="center" cellpadding="5"
					cellspacing="1">
					<html:form action="/resetPayPassword.do">
						<!-- 手机号码 -->
						<tr>
							<td width="12%" align="right">
								手机号码：
								<span class="orang12b">*</span>
							</td>
							<td width="75%" bgcolor="#FFFFFF">
								<html:text property="mobile" alt="手机号码" maxlength="64" size="35"
									styleClass="inputStyle" value="<%=mobile%>" readonly="true" />
							</td>
						</tr>
						<!-- 确 认 码 -->
						<tr>
							<td width="20%" align="right">
								确 认 码：
								<span class="orang12b">*</span>
							</td>
							<td bgcolor="#FFFFFF">
								<html:text property="resetCode" alt="确 认 码" maxlength="8"
									size="35" styleClass="inputStyle" />
							</td>
							<td bgcolor="#FFFFFF">
							</td>
						</tr>
						<!-- 新 密 码 -->
						<tr>
							<td width="20%" align="right">
								新 密 码：
								<span class="orang12b">*</span>
							</td>
							<td bgcolor="#FFFFFF">
							<script type="text/javascript">pgeditor.generate()</script>
								<input name="newPass" type="hidden" />
								<span class="font_gray">(6-20个字符)</span>
							</td>
							<td bgcolor="#FFFFFF">
								
							</td>
						</tr>
						<!-- 重复新密码 -->
						<tr>
							<td width="20%" align="right">
								重复新密码：
								<span class="orang12b">*</span>
							</td>
							<td bgcolor="#FFFFFF">
							<script type="text/javascript">pgeditor1.generate()</script>
								<input name="reNewPass" type="hidden" />
								<span class="font_gray">(6-20个字符)</span>
							</td>
							<td bgcolor="#FFFFFF">
								
							</td>
						</tr>
					</html:form>
					<tr>
						<td colspan="3" align="center" bgcolor="#FFFFFF" class="font_blue">
							<input type="button" name="sure" value="确 定" class="button_style"
								onclick="submitProcess();" />
							&nbsp;&nbsp;
							<input type="button" name="return" value="返回上一步"
								class="button_style"
								onclick="location.href='forgotPayPassword.do?r=m';" />
							&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="button" name="return" value="返回账户信息"
								class="button_style"
								onclick="loading('<%=path%>/route.do?modual=space$account&showTab=3');"
								style="margin-right:20px;" />
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</div>
